home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
pcbdesc2.zip
/
PCBDESC.DOC
< prev
next >
Wrap
Text File
|
1991-10-16
|
5KB
|
111 lines
PCBDESC Version 2.00
Automatic Upload Description Insertion for PCBoard 14.5a
Copyright (c) 1991 by Clark Development Co., Inc. All Rights Reserved
PCBDESC.EXE checks uploaded files for FILE_ID.DIZ (Description In
Zipfile) files provided by the program author. If the uploaded file
contains a description file, it will replace the user supplied description
with the one provided in the file.
Also, PCBDESC can optionally append a line to the description
showing the number of files and the dates of both the oldest and the newest
files in the zipfile.
INSTALLING PCBDESC:
PCBDESC *REQUIRES* PCBoard version 14.5a or higher BBS software to
operate. Earlier versions of PCBoard, or other BBS software packages are NOT
compatible with PCBDESC.
PCBDESC is used inside of the PCBTEST.BAT file, which is run to test
each upload to the system. Place the PCBDESC.EXE file in your default \PCB
directory, and insert the following line into PCBTEST.BAT:
IF %2==UPLOAD PCBDESC %1 %3
And it's ready to go. There is only one option; if you would like
to have an additional line in the description showing the date of the oldest
and newest files in the ZIP, then use this command instead:
IF %2==UPLOAD PCBDESC /D %1 %3
The word "UPLOAD" in the above example is case sensitive. Make sure
you type it in uppercase letters. Also make sure that you have a copy of
PKUNZIP.EXE available in your default \PCB directory, or in a subdirectory
referenced by your PATH.
PCBDESC can be the first thing in your PCBTEST.BAT file; it will only
operate on ZIP and self-extracting EXE format ZIP files.
ERRORLEVEL RETURNS:
PCBDESC will return errorlevels to your batch file to indicate what
it has done. These errorlevels can then be tested and used for your own
purposes. Return values are as follows:
0 = No processing performed
1 = File was not a ZIP/EXE file or ZIP contents were damaged
2 = Desciption was updated (or file dates added)
3 = Found description but unable to process
THE DESCRIPTION FILE:
PCBDESC will accept descriptions contained in FILE_ID.DIZ files
found in the ZIP being tested. The FILE_ID.DIZ file is an ASCII text file,
and can contain up to 10 lines of 45 characters each. The first line of
this file is the program name and version, and the following lines describe
the function of the program.
-----------------------------------------------------------------------------
ATTENTION! The FILE_ID.DIZ file is intended for the program
author's use in providing a coherent description of his program. In this
way, the author and the sysop can be assured that the program will be
properly described when uploaded to a BBS. DO NOT use this file for BBS
advertising - such use is in violation of the copyright associated with the
FILE_ID.DIZ file.
-----------------------------------------------------------------------------
PCBDESC will also detect and use descriptions contained in DESC.SDI
files if they are present. No other description file formats are supported.
REVISION HISTORY:
Version 1.00 - Original Release
Version 1.10 - Maintainence Release
-----------------------------------
If a stray description file was left in the default directory,
PCBDESC could stick on it. Fixed.
And to prevent problems for those who insist on using PCBDESC with
the wrong BBS software:
Added testing for improper version of PCBoard software.
Added testing for proper filespecs on command line.
Updated documentation to include the exit codes returned by PCBDESC.
Version 1.11 - Bug Fix Release
------------------------------
Error 53 at 4626 caused by incorrect call to PKUNZIP. Sorry about
that, folks. Fixed.
Version 2.00 - Rewrite in C
---------------------------
Made the program both smaller and faster
Fixed a problem with running on Alloy Slave Cards
Changed date line from "Latest File Date in ZIP: MM/DD/YY" to "Files: #
Oldest: MM/DD/YY Newest: MM/DD/YY"
Added ERRORLEVEL 2 if a description file was found and processed
PLEASE NOTE:
------------
Previous recommended usage was: PCBDESC [/D] %1 %3
Current recommend usage is now: IF %2 == UPLOAD PCBDESC [/D] %1 %3
The change avoids running PCBDESC if PCBoard's "TEST" command is being
used instead of executing an upload test procedure.